package com.ruoyi.production.mapper.pesticide;

import java.util.List;
import com.ruoyi.common.annotation.PropertyInject;
import com.ruoyi.common.enums.InjectType;
import com.ruoyi.production.domain.pesticide.PesticideApplyTemporary;

/**
 * 农药临时申请Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface PesticideApplyTemporaryMapper
{
    /**
     * 查询农药临时申请
     *
     * @param pesticideApplyTemporaryId 农药临时申请ID
     * @return 农药临时申请
     */
    public PesticideApplyTemporary selectPesticideApplyTemporaryById(Long pesticideApplyTemporaryId);

    /**
     * 查询农药临时申请列表
     *
     * @param pesticideApplyTemporary 农药临时申请
     * @return 农药临时申请集合
     */
    public List<PesticideApplyTemporary> selectPesticideApplyTemporaryList(PesticideApplyTemporary pesticideApplyTemporary);

    /**
     * 新增农药临时申请
     *
     * @param pesticideApplyTemporary 农药临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Insert)
    public int insertPesticideApplyTemporary(PesticideApplyTemporary pesticideApplyTemporary);

    /**
     * 修改农药临时申请
     *
     * @param pesticideApplyTemporary 农药临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Update)
    public int updatePesticideApplyTemporary(PesticideApplyTemporary pesticideApplyTemporary);

    /**
     * 删除农药临时申请
     *
     * @param pesticideApplyTemporaryId 农药临时申请ID
     * @return 结果
     */
    public int deletePesticideApplyTemporaryById(Long pesticideApplyTemporaryId);

    /**
     * 批量删除农药临时申请
     *
     * @param pesticideApplyTemporaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deletePesticideApplyTemporaryByIds(Long[] pesticideApplyTemporaryIds);
}
